#ifndef TIMEREVENT_H
#define TIMEREVENT_H

#include "room_global.h"
#include "event.h"

class TimerEvent :
        public Event
{
public:
    TimerEvent();
    ~TimerEvent();

    unsigned int owner();

    unsigned int id();

    unsigned long msec();

    unsigned int repeat();

    void setOwner(unsigned int owner);

    void setId(unsigned int id);

    void setTime(unsigned long msec);

    void setRepeat(unsigned int repeat);

private:
    unsigned int m_owner;

    unsigned int m_id;

    unsigned long m_msec;

    unsigned int m_repeat;
};

#endif // TIMEREVENT_H
